package com.tg.app.helper;

import com.tg.appcommon.android.Packet;

public class SpeakerVolumeHelper {

    public static byte[] parseMicLevelContent(int level) {
        byte[] result = new byte[8];
        int reserved = 0;
        byte[] levels = Packet.intToByteArray_Little(level);
        byte[] reserves = Packet.intToByteArray_Little(reserved);
        System.arraycopy(levels, 0, result, 0, 4);
        System.arraycopy(reserves, 0, result, 4, 4);
        return result;

    }

}
